package com.ruitu.mall_98_1.search;

import android.os.Bundle;

import com.ruitu.mall_98_1.R;
import com.ruitu.router_module.bean.product.SearchData;

//企业搜索
public class SearchShopFragment extends SearchBaseFragment {

    public static SearchShopFragment newInstance(SearchData searchData) {
        SearchShopFragment fragment = new SearchShopFragment();
        Bundle args = new Bundle();
        args.putSerializable("searchData", searchData);
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected int getContentViewId() {
        return R.layout.fragment_search_shop;
    }

    @Override
    protected String getSearchType() {
        return "1";
    }

    @Override
    protected void executeSearch() {
        Bundle bundle = new Bundle();
        bundle.putSerializable("condition", condition);
        startActivity(ShopListBySearchActivity.class, bundle);
    }
}
